package com.photo.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.photo.system.model.dto.Appointment.AppointmentQueryRequest;
import com.photo.system.model.entity.Appointment;
import com.photo.system.model.vo.AppointmentVO;

import java.util.List;

/**
* @author xuwenhui
* @description 针对表【appointment(预约拍摄表)】的数据库操作Mapper
* @createDate 2024-12-15 18:33:39
* @Entity generator.domain.Appointment
*/
public interface AppointmentMapper extends BaseMapper<Appointment> {

    List<AppointmentVO> getQueryWrapperByAll(Page<AppointmentVO> pageParam, AppointmentQueryRequest appointmentQueryRequest);

    List<AppointmentVO> getQueryWrapperByMy(Page<AppointmentVO> pageParam, AppointmentQueryRequest appointmentQueryRequest, Long userId);
}




